Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid auth configuration for submodules when settings.submodules is false ( rebased #424 ) auth submodules #1321

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

kaidokert
Copy link

@kaidokert kaidokert commented May 15, 2023

Rebased #424 to try to get this landed.

Fixes #354 #1582

This should help with actions#354.
The problem is that I have no idea whether such auth submodules configuration
is required even when settings.submodules is false.
Error: Unstaged changes detected. Locally try running: git clean -ffdx && npm ci && npm run format && npm run build
Error: Process completed with exit code 1.

Rebased PR from actions#424
@kaidokert kaidokert requested a review from a team as a code owner May 15, 2023 19:28
@kaidokert kaidokert force-pushed the users/cosimo/issue-354-auth-submodules branch from 9a48990 to 1bf7689 Compare May 15, 2023 20:31
@kaidokert kaidokert changed the title Users/cosimo/issue 354 auth submodules Avoid auth configuration for submodules when settings.submodules is false ( rebased #354 ) auth submodules May 15, 2023
@kaidokert kaidokert changed the title Avoid auth configuration for submodules when settings.submodules is false ( rebased #354 ) auth submodules Avoid auth configuration for submodules when settings.submodules is false ( rebased #424 ) auth submodules May 16, 2023
kaidokert added a commit to youtube/cobalt that referenced this pull request May 16, 2023
This switches Windows workers, which are not yet ephemeral to use
a patched version of checkouts.

This guarantees always cleaning up repo state even in case of
previous bad submodules-like repo operations done by a previous
run.

In the long run, we should be using ephemeral workers, and switch
to upstream fixed version if the PR gets merged upstream.

Upstream PR: actions/checkout#1321

b/282361986
b/258687270
cobalt-github-releaser-bot pushed a commit to youtube/cobalt that referenced this pull request May 16, 2023
This switches Windows workers, which are not yet ephemeral to use
a patched version of checkouts.

This guarantees always cleaning up repo state even in case of
previous bad submodules-like repo operations done by a previous
run.

In the long run, we should be using ephemeral workers, and switch
to upstream fixed version if the PR gets merged upstream.

Upstream PR: actions/checkout#1321

b/282361986
b/258687270

(cherry picked from commit 3c24834)
kaidokert added a commit to youtube/cobalt that referenced this pull request May 16, 2023
…386)

This switches Windows workers, which are not yet ephemeral to use
a patched version of checkouts.

This guarantees always cleaning up repo state even in case of
previous bad submodules-like repo operations done by a previous
run.

In the long run, we should be using ephemeral workers, and switch
to upstream fixed version if the PR gets merged upstream.

Upstream PR: actions/checkout#1321

b/282361986
b/258687270

(cherry picked from commit 3c24834)

Co-authored-by: Kert <[email protected]>
@andrewsavage1
Copy link

Hoping we can get this landed soon, it's giving our project a number of issues

@kaidokert
Copy link
Author

Another ping for review, please

@Sh4d1
Copy link

Sh4d1 commented Jun 20, 2024

@cory-miller can we get this reviewed/merged?

@jsoref
Copy link
Contributor

jsoref commented Jul 11, 2024

@joshmgross is there something that needs to be done to get this reviewed?

Fwiw, I see it here:
https://github.com/check-spelling-sandbox/winget-cli/actions/runs/9894767726/job/27333077282#step:4:10

I'll probably consider carrying this PR in a fork of actions/checkout until it's merged...

@kaidokert
Copy link
Author

Another ping for review, please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Getting actions workflow failed at checkout stage with error
7 participants